if (params.body)
this.addBody(params.body, params.bodyMarkup);
- this._updated();
+ this.updated();
},
setIconVisible: function(visible) {
}
this._contentArea.add(actor, style ? style : {});
- this._updated();
+ this.updated();
},
// addBody:
this._table.add_style_class_name('multi-line-notification');
this._table.add(this._actionArea, props);
this._updateLastColumnSettings();
- this._updated();
+ this.updated();
},
_updateLastColumnSettings: function() {
this._buttonFocusManager.add_group(this._buttonBox);
button.connect('clicked', Lang.bind(this, this._onActionInvoked, id));
- this._updated();
+ this.updated();
},
setUrgency: function(urgency) {
if (this._canExpandContent()) {
this._addBannerBody();
this._table.add_style_class_name('multi-line-notification');
- this._updated();
+ this.updated();
}
return false;
}));
(!this._titleFitsInBannerMode && !this._table.has_style_class_name('multi-line-notification'));
},
- _updated: function() {
+ updated: function() {
if (this.expanded)
this.expand(false);
},
this._lastGroupActor.add(body, props.childProps);
+ this.updated();
+
let timestamp = props.timestamp;
this._history.unshift({ actor: body, time: timestamp,
realMessage: group != 'meta' });